//
//  KNavigationSelectView.h
//  DrugPin
//
//  Created by guohe on 2018/9/10.
//  Copyright © 2018年 outang. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 KNavigationSelectViewDelegate
 */
@protocol KNavigationSelectViewDelegate <NSObject>
-(void)redEnvelopeActivityBtnClick;
-(void)cultivateActivityBtnClick;
-(void)scratchRedEnvelopeBtnClick;
@end


typedef NS_ENUM(NSUInteger, KNaviType) {
    KNaviType_HomePage = 0,/*首页*/
    KNaviType_Discovery = 1 /*发现*/
};

@interface KNavigationSelectView : UIView
// 背景视图
@property (nonatomic, strong)UIScrollView *bgScrollView;
//  红包活动
@property (nonatomic, strong) UIButton* redEnvelopeActivityBtn;
//  红包活动
@property (nonatomic, strong) UIButton* cultivateActivityBtn;
//  红包活动
@property (nonatomic, strong) UIButton* scratchRedEnvelopeBtn;
// 蓝色底部线条
@property (nonatomic, strong)UIView *bgLine;

// 枚举判断首页或发现页
@property (nonatomic, assign) KNaviType naviType;

@property(nonatomic, weak) id<KNavigationSelectViewDelegate> delegate;

- (instancetype)initwithNaviType:(KNaviType)naviType;

@end
